package com.service;

import com.dto.BaseDto;
import com.entity.Condition;
import com.entity.Memberbuyrecord;
import com.page.PageInfo;

import java.text.ParseException;
import java.util.List;

public interface MemberbuyrecordService {
    public BaseDto getAll()throws Exception;
    public BaseDto getMemberbuyrecordByMno(Integer mbno)throws Exception;
    public BaseDto add(Memberbuyrecord memberbuyrecord)throws Exception;
    public BaseDto update(Memberbuyrecord memberbuyrecord)throws Exception;
    public BaseDto getMemberbuyrecordsByPage(PageInfo pageInfo);
    /**
     * 搜索分页查询
     * @param pageInfo
     * @return
     */
    public BaseDto searchMemberbuyrecordsByPage(PageInfo pageInfo, List<Condition> conditions) throws ParseException ;
}
